package com.mybatisplus.demo.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 项目名称：mybatisplus_demo_1
 * 类 名 称：MybatisPlusConfig
 * 类 描 述：TODO
 * 创建时间：2020/5/18
 * 创 建 人：Areli
 */
@Configuration
public class MybatisPlusConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
